|
|
@@ -27,10 +27,7 @@ public class DeliveryTest extends TestCase {
|
|
27
|
27
|
|
|
28
|
28
|
List<HandlingEvent> orderEvents = dh.history();
|
|
29
|
29
|
assertThat(orderEvents).hasSize(4);
|
|
30
|
|
- assertThat(orderEvents.get(0)).isSameAs(he2);
|
|
31
|
|
- assertThat(orderEvents.get(1)).isSameAs(he4);
|
|
32
|
|
- assertThat(orderEvents.get(2)).isSameAs(he1);
|
|
33
|
|
- assertThat(orderEvents.get(3)).isSameAs(he3);
|
|
|
30
|
+ assertThat(orderEvents).containsExactly(he2, he4, he1, he3);
|
|
34
|
31
|
}
|
|
35
|
32
|
|
|
36
|
33
|
public void testCargoStatusFromLastHandlingEvent() {
|