@Test
public void getOperatorShouldReturnTheJoiningOperatorToTheFirstFunction() {

	final SopremoRecordLayout layout = SopremoRecordLayout.create(new ObjectAccess("someField"));
	final eu.stratosphere.api.common.operators.Operator contract =
		new OperatorWithTwoFunctions().getOperator(layout);
	assertEquals(SopremoReduceOperator.class, contract.getClass());
	assertTrue(Arrays.asList(OperatorWithTwoFunctions.Implementation1.class,
		OperatorWithTwoFunctions.Implementation2.class).contains(contract.getUserCodeWrapper().getUserCodeClass()));
}