### Question:
Photo { public static Photo empty() { return new Photo(new byte[0], 0); } Photo(byte[] encodedImage,
                 int rotationDegrees); static Photo empty(); @Override boolean equals(Object o); @Override int hashCode(); final byte[] encodedImage; final int rotationDegrees; }### Answer:
@Test public void empty() throws Exception { Photo result = Photo.empty(); assertEquals( 0, result.encodedImage.length ); assertEquals( 0, result.rotationDegrees ); }