@Test public void shouldInitializeBeans() throws Exception { FixtureAnnotations.initFixtures(this); checkFixture1(bean1); assertThat(bean2).isNotNull(); assertThat(bean2.getStringProperty()).isEqualTo("property2"); assertThat(bean2.getIntProperty()).isEqualTo(1); assertThat(bean3).isNotNull(); assertThat(bean3.getStringProperty()).isEqualTo("property"); assertThat(bean3.getIntProperty()).isEqualTo(1); assertThat(bean3.getListProperty()).containsExactly("element1", "element2", "element3"); assertThat(bean4).isNotNull(); assertThat(bean4.getStringProperty()).isEqualTo("property"); assertThat(bean4.getIntProperty()).isEqualTo(3); checkList(beanList); checkSet(beanSet); checkList(Arrays.asList(beanArray)); }
public static void initFixtures(Object targetInstance) throws Exception { initFixtures(targetInstance, null); }
FixtureAnnotations { public static void initFixtures(Object targetInstance) throws Exception { initFixtures(targetInstance, null); } }
FixtureAnnotations { public static void initFixtures(Object targetInstance) throws Exception { initFixtures(targetInstance, null); }  }
FixtureAnnotations { public static void initFixtures(Object targetInstance) throws Exception { initFixtures(targetInstance, null); }  static void initFixtures(Object targetInstance); static void initFixtures(Object targetInstance, Settings.Builder settings); }
FixtureAnnotations { public static void initFixtures(Object targetInstance) throws Exception { initFixtures(targetInstance, null); }  static void initFixtures(Object targetInstance); static void initFixtures(Object targetInstance, Settings.Builder settings);  }