@Test(expected = IllegalArgumentException.class)
public void testDuplicateSlotTypes() {

    Model.Builder builder = Model.builder();
    builder.slotType(DuplicateSlot1.class);
    builder.slotType(DuplicateSlot2.class);
}