class Baz {

    public int bazMethod() {
        return i;
    }

}

class BazTest {

    @Test
    void testBazMethod() {

        Baz testee = new Baz();
        assertThat(testee.bazMethod(), is(6));
    }

}