@Test
public void test() {

    double sum = 250.0;
    int year = 2016;
    int month = 11;
    SumYearMonth bean = new SumYearMonth(sum, year, month);
    assertEquals(sum, bean.getSum(), 0.0);
    assertEquals(year, bean.getYear());
    assertEquals(month, bean.getMonth());
}