  @Test
  public void shouldThrowIfInheritedGetter() {

    thrown.expect(IllegalStateException.class);
    thrown.expectMessage("Method getObject must be void, but returns Object.");
    RxViper.checkNoPublicGetters(IHaveInheritedGetter.class);
  }