@Test
public void testDifficultyAndState()
{
Memory.reset();
Memory m = Memory.getInstance();
m.setDifficulty(new HardDifficulty());
m.setState(new PlayingState(m));
assertTrue(m.getDifficulty() instanceof HardDifficulty);
assertTrue(m.getState() instanceof PlayingState);
}