Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Un-annotated fields in fully initialized @Tested classes having annotated injected fields should be left null #206
Currently, if a @tested(fullyInitialized = true) class uses injection annotations (@Inject, etc.), any fields not annotated are also getting injected with a new instance (when a no-args constructor is found).
Said fields should be left null in this situation; only if none of the fields use annotations is that they all should get initialized.