def test_it_can_be_turn_on(self): tv = TV() tv.turn_on() tv | should | be_on
def test_it_can_be_turn_off(self): tv = TV() tv.turn_on() tv.turn_off() tv | should_not | be_on