@Test
public void testGetCommiters() {

    List<Culprit> users = new ArrayList<Culprit>();
    Culprit user1 = new Culprit();
    Culprit user2 = new Culprit();
    user1.setFullName("dude");
    user2.setFullName("sweet");
    users.add(user1);
    users.add(user2);
    MavenModuleSetBuild setBuild = mock(MavenModuleSetBuild.class);
    when(setBuild.getCulprits()).thenReturn(users);
    String[] commiters = HudsonXmlHelper.getCommiterNames(setBuild);
    assertEquals("dude", commiters[0]);
    assertEquals("sweet", commiters[1]);
}