### Question:
BusinessDataReferenceResourceFinder extends ResourceFinder { @Override public boolean handlesResource(Serializable object) { return object instanceof BusinessDataReference; }  @Override ServerResource create(final Request request, final Response response); @Override boolean handlesResource(Serializable object); @Override Serializable toClientObject(Serializable object);  }### Answer:
@Test public void should_handle_multiple_business_data() throws Exception { MultipleBusinessDataReferenceImpl bizDataRef = new MultipleBusinessDataReferenceImpl("Ticket", "com.acme.object.Ticket", Arrays.asList(7L, 8L)); boolean handlesResource = businessDataReferenceResourceFinder.handlesResource(bizDataRef); assertThat(handlesResource).isTrue(); }
@Test public void should_handle_simple_business_data() throws Exception { SimpleBusinessDataReferenceImpl bizDataRef = new SimpleBusinessDataReferenceImpl("Ticket", "com.acme.object.Ticket", 8L); boolean handlesResource = businessDataReferenceResourceFinder.handlesResource(bizDataRef); assertThat(handlesResource).isTrue(); }
@Test public void should_not_handle_other_types() throws Exception { boolean handlesResource = businessDataReferenceResourceFinder.handlesResource(12l); assertThat(handlesResource).isFalse(); }