@Test public void verifyInjections() { assertThat(cut).isNotNull(); assertThat(hello).isNotNull().isSameAs(cut.getHello()); MockUtil util = new MockUtil(); assertThat(util.isMock(hello)).isFalse(); }
private String mockName(Object mock) { return MockUtil.getMockName(mock).toString(); }