public void OnceTestHandlerAsync_HasCorrectTimeout() { var handler = new OnceTestHandlerAsync(); var reader = HandlerMetadata.ReadExactlyOnce(handler); Assert.That(reader.GetTimeOut(), Is.EqualTo(42)); }
public void OnceTestHandlerAsync_DoesHaveExactlyOnce() { var handler = new OnceTestHandlerAsync(); var reader = HandlerMetadata.ReadExactlyOnce(handler); Assert.That(reader.Enabled, Is.True); }