@Test
public void testAcceptType() throws Exception {

    Value boolVar = getVM().mirrorOf(true);
    assertTrue("Should accept any type.", formatter.acceptType(boolVar.type(), new HashMap<>()));
    ObjectReference or = this.getObjectReference("Foo");
    assertTrue("Should accept any type.", formatter.acceptType(null, new HashMap<>()));
    assertTrue("Should accept any type.", formatter.acceptType(or.type(), new HashMap<>()));
    ObjectReference str = this.getObjectReference("java.lang.String");
    assertTrue("Should accept String type.", formatter.acceptType(str.referenceType(), new HashMap<>()));
}