Mocks registration now is allowed after unity.Resolve method called