Created
September 4, 2012 13:36
-
-
Save aslakknutsen/3621221 to your computer and use it in GitHub Desktop.
Warp rewrite Anonymous ServerAssertions to 'real' classes and transfer to Container. Rewrite 'external' references to client callback
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Test | |
public void should() { | |
final SomeObject obj; | |
Warp.execute(new ClientAction() { | |
public void action() { | |
page.doAction(); | |
} | |
}).verify(new ServerAssertion() { | |
public void do() { | |
obj.get(); // detect outside of anonymous class call, replace with callback to client for the value ? | |
} | |
}); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment