}
private void assertStatus(final ApplicationStatus status)
{
PollingProber prober = new PollingProber(PROBER_TIMEOUT, PROBER_INTERVAL);
prober.check(new JUnitProbe()
{
@Override
protected boolean test() throws Exception
{
assertThat(application.getStatus(), is(status));