public State waitForUndeploy(String resourceName) {
		return waitForDeployState(resourceName, State.undeployed);
	}
Wait for a named resource to be undeployed.
@param resourceName the name of the resource being undeployed
@return either State.undeployed or the current state when the operation timed out.
spring-xd-dirt/src/main/java/org/springframework/xd/dirt/test/ResourceStateVerifier.java