@Test
public void convertTimeStampShouldCorrectlyConvertDateToProtobufTimestamp() {

  Date date = new Date(1000);
  Timestamp expected = Timestamp.newBuilder().setSeconds(1).build();
  assertThat(TypeConversion.convertTimestamp(date), equalTo(expected));
}