@Test public void readMaxValue() throws IOException { // given InputStream given = new ByteArrayInputStream(UINT64.MAX_VALUE.bytes()); // expected UINT64 expected = UINT64.MAX_VALUE; // act UINT64 actual = UINT64.read(given); // verify assertThat(actual, is(expected)); }