CancelAfterCommand public class CancelAfterCommand : DelegatingTestCommand CancelAfterCommand creates a timer in order to cancel a test if it exceeds a specified time and adjusts the test result if it did time out. Documentation Code