    @Test public void rawBodyTypeThrows() {

        Type reservoirType = new TypeToken<Supplier>() {}.getType();
        try {
            factory.get(reservoirType, NO_ANNOTATIONS, retrofit);
            fail();
        } catch (IllegalStateException e) {
            assertThat(e, hasMessage(containsString(
                "Supplier return type must be parameterized as Supplier<Result<Foo>> or Supplier<Result<? extends Foo>>")));
        }
    }