def test_contains_state_for_removed_state(self): state_manager = ActorStateManager(self._fake_actor) _run(state_manager.set_state('state1', 'value1')) exist = _run(state_manager.contains_state('state1')) self.assertTrue(exist)
def test_contains_state_for_existing_state(self): state_manager = ActorStateManager(self._fake_actor) exist = _run(state_manager.contains_state('state1')) self.assertTrue(exist)