Closed pchudzik closed 7 years ago
Like with @MockBean from spring:
@Configuration @MockBean(Service.class) static class Config {}
Will create bean in the scope but will not force you to inject it into specification
Mocks injection into configuration classes is done.
TODO: class level annotation implementation
class level mocks are supported but without configuration @Imported classes are ignored
Like with @MockBean from spring:
Will create bean in the scope but will not force you to inject it into specification