### Question:
JsonbSerializer implements Serializer { @Override public <T> boolean canSerializeTo(Class<T> expectedRepresentation) { return String.class.equals(expectedRepresentation) || converter.canConvert(byte[].class, expectedRepresentation); } private  JsonbSerializer(); static final Builder defaultSerializer(); static final Builder fieldAccess(); static final Builder builder(); @Override @SuppressWarnings("unchecked") SerializedObject<T> serialize(Object object, Class<T> expectedRepresentation); @Override boolean canSerializeTo(Class<T> expectedRepresentation); @Override @SuppressWarnings("unchecked") T deserialize(SerializedObject<S> serializedObject); @Override @SuppressWarnings("rawtypes") Class classForType(SerializedType type); @Override @SuppressWarnings("rawtypes") SerializedType typeForClass(Class type); @Override Converter getConverter(); @Override String toString();  }### Answer:
@Test void testCanSerializeToStringByteArrayAndInputStream() { assertTrue(serializerToTest.canSerializeTo(byte[].class)); assertTrue(serializerToTest.canSerializeTo(String.class)); assertTrue(serializerToTest.canSerializeTo(InputStream.class)); }