@Test
public void testIsSuccessful() {

    MavenModuleSetBuild job = mock(MavenModuleSetBuild.class);
    when(job.getResult()).thenReturn("SUCCESS");
    boolean isSuccessful = HudsonXmlHelper.isSuccessful(job);
    assertTrue(isSuccessful);
}