test setting some method