### Question:
PersistorGeneratorBean extends PersistorGeneratorAbstract { @Override public <BEAN> boolean applicableFor(Class<BEAN> beanClass) { return ReflectionUtils.getDefaultConstructor(beanClass).isPresent(); }  @Override boolean applicableFor(Class<BEAN> beanClass);  }### Answer:
@Test public void should_not_be_applicable_for_immutables() { assertFalse(beanGenerator.applicableFor(ImmutableFoobarValue.class)); }
@Test public void should_be_applicable_for_beans() { assertTrue(beanGenerator.applicableFor(Employee.class)); }