@Test
public void testFunctionDependingOnInputWithMissingInput() {

	IdentityMapper<Boolean> function = new IdentityMapper<Boolean>();
	try {
		TypeExtractor.getMapReturnTypes(function, null);
		Assert.fail("exception expected");
	} catch (InvalidTypesException e) {
		// right
	}
}