TeStereo report

@Test public void testResolveWithSuccess() throws Exception { Deferred def=new Deferred(); Promise promise=def.getPromise(); Deferred with=new Deferred(); Promise resolvedWith=def.resolveWith(with.getPromise()); with.resolve("resolveWith"); assertTrue("Promise resolved",promise.isDone()); assertEquals("Value matches","resolveWith",promise.getValue()); assertNull("resolveWith null",resolvedWith.getValue()); }