The line
assertThat(getBoosts(), not(hasItem(recommendsSlot(Slot.ACCESSORY1))));
is a test. When the test fails, it prints what you see: we expected (something), but actually (something else).
In this case, we expect that running the maximizer does not change accessory 1, but in fact...