public void Register(ITestAgent agent) { _agentStore.Register(agent); }
public static void AgentMustBeStartedBeforeRegistering() { var database = new AgentStore(); Assert.That(() => database.Register(DummyAgent), Throws.ArgumentException.With.Property("ParamName").EqualTo("agent")); }