@Test
public void testCopyTo() {

	StreamRecord<String> recNoTimestamp = new StreamRecord<String>("test");
	StreamRecord<String> recNoTimestampCopy = new StreamRecord<>(null);
	recNoTimestamp.copyTo("test", recNoTimestampCopy);
	assertEquals(recNoTimestamp, recNoTimestampCopy);
	StreamRecord<String> recWithTimestamp = new StreamRecord<String>("test", 99);
	StreamRecord<String> recWithTimestampCopy = new StreamRecord<>(null);
	recWithTimestamp.copyTo("test", recWithTimestampCopy);
	assertEquals(recWithTimestamp, recWithTimestampCopy);
}