@Test
public void testCreateInstanceWithLabel() {

	// Given
	TextInstanceCreator<Integer> instanceCreator = new TextInstanceCreator<Integer>(true);
	Integer expectedLabel = 1;
	String expectedText = "I can't argue with some arguments on argus with argues";
	TridentTuple tuple = mock(TridentTuple.class);
	when(tuple.get(0)).thenReturn(expectedLabel);
	when(tuple.getString(1)).thenReturn(expectedText);
	// When
	TextInstance<Integer> actualInstance = instanceCreator.createInstance(tuple);
	// Then
	TextInstance<Integer> expectedInstance = new TextInstance<Integer>(expectedLabel, Arrays.asList("i", "can't", "argu", "some", "argument", "argu", "argu"));
	assertEquals(expectedInstance, actualInstance);
}