Now inner class is generated but still dont know how to test it