### Question:
RelativeInheritedDefaultBehaviorProvider extends DefaultBehaviorProvider<T> { public <R, P> R accept(DefaultBehaviorProviderVisitor<T, R, P> v, P p) { return v.visitRelativeInherited(this, p); } RelativeInheritedDefaultBehaviorProvider(AbstractManagedObjectDefinition<?, ?> d, String propertyName,
        int offset); R accept(DefaultBehaviorProviderVisitor<T, R, P> v, P p); AbstractManagedObjectDefinition<?, ?> getManagedObjectDefinition(); ManagedObjectPath<?, ?> getManagedObjectPath(ManagedObjectPath<?, ?> path); String getPropertyName(); int getRelativeOffset();  }### Answer:
@Test @SuppressWarnings("rawtypes") public void testAccept() { defaultBehaviorProvider.accept(new DefaultBehaviorProviderVisitor<Boolean, Object, Object>() { public Object visitAbsoluteInherited(AbsoluteInheritedDefaultBehaviorProvider d, Object o) { return null; } public Object visitAlias(AliasDefaultBehaviorProvider d, Object o) { return null; } public Object visitDefined(DefinedDefaultBehaviorProvider d, Object o) { return null; } public Object visitRelativeInherited(RelativeInheritedDefaultBehaviorProvider d, Object o) { return null; } public Object visitUndefined(UndefinedDefaultBehaviorProvider d, Object o) { return null; } }, new Object()); }