class AppContext implements Serializable {

    public void setStrAddressMint(String strAddressMint) {
        Util.check(!(strAddressMint==null || strAddressMint.isEmpty()), "strAddressMint!=null");
        this.strAddressMint = strAddressMint;
    }

}

class AppContextTest {

     AppContext context;

    @Test
    public void testSetStrAddressMint(){

        String addressMint = "path";
        context.setStrAddressMint(addressMint);
        Assert.assertEquals(addressMint, context.getStrAddressMint());
    }

}