@Test
public void shouldNotBeEqual() {

    // given:
    List<MachineState> states1 = new ArrayList<MachineState>();
    List<MachineState> states2 = new ArrayList<MachineState>();
    // when:
    addSomeNonEqualPairsOfStates(states1, states2);
    // then:
    for (int i = 0; i < states1.size(); i++) {
        assertFalse(states1.get(i).equals(states2.get(i)));
    }
}