@Test public void test_addSupportingTypesStrategy_ThrowsAnException_WhenANullSupportingTypesStrategyIsSpecified() { try { strategy.addSupportingTypesStrategy(null); fail(); } catch (IllegalArgumentException iae) { assertEquals("A supporting types strategy must be provided.", iae.getMessage()); } }