The hard dependency to \Magento\TestFramework\Helper\Bootstrap::getObjectManager() is fine, it's going to be used anyways 99.9999% of the time. And if it ever needs to be replaced, there is still the possibility to use \Magento\TestFramework\Helper\Bootstrap::setObjectManager()
BC break:
\TddWizard\Fixtures\Customer\AddressBuilder::anAddress() has a locale parameter after the ObjectManager parameter. Usages will need to change.
This declutters the code a bit.
The hard dependency to
\Magento\TestFramework\Helper\Bootstrap::getObjectManager()
is fine, it's going to be used anyways 99.9999% of the time. And if it ever needs to be replaced, there is still the possibility to use\Magento\TestFramework\Helper\Bootstrap::setObjectManager()
BC break:
\TddWizard\Fixtures\Customer\AddressBuilder::anAddress()
has alocale
parameter after the ObjectManager parameter. Usages will need to change.