### Question:
JUGMemberServiceBean { public List<JUGMember> findByLanguage(String language) { return entityManager.createNamedQuery( "JUGMember-findByLanguage") .setParameter("language", language) .getResultList(); }  void save( JUGMember member ); void delete( JUGMember member ); List<JUGMember> findAllMembers(); List<JUGMember> findByFirstAndLastName(
            String firstname, String lastname); List<JUGMember> findByLanguage(String language); List<JUGMember> findByExperience(int experience);  }### Answer:
@Test public void shouldFindByLanguage1() { List<JUGMember> list = service.findByLanguage("Scala"); assertNotNull(list); assertEquals( 2, list.size() ); }
@Test public void shouldFindByLanguage2() { List<JUGMember> list = service.findByLanguage("Groovy"); assertNotNull(list); assertEquals( 1, list.size() ); }
@Test public void shouldNotFindByUnknownLanguage() { List<JUGMember> list = service.findByLanguage("Pigeon"); assertNotNull( list); assertEquals( 0, list.size() ); }