@Test
public void testInstantiate_noConstructor() {

  try {
    Serializers.instantiate(NoValidConstructorSerializer.class, TypeToken.of(String.class));
    fail("Shouldn't be able to instantiate with Collection");
  } catch (IllegalStateException e) {
    String expected = "Failed to instantiate custom serializer "
        + NoValidConstructorSerializer.class.getName() + ", constructors not found: "
        + "[(interface java.lang.reflect.Type), (class java.lang.Class), ()]";
    assertEquals(expected, e.getMessage());
  }
}