public void CreateNewInterfaceImplementation() { var implementations = For<ImplementationList>(); var classifiers = new ClassifierDictionary(); var messageSystem = For<MessageSystem>(); var implementation = For<Implementation>(); implementations.CreateNew(classifiers).Returns(implementation); var newCommand = new NewCommand<Implementation>(implementations, classifiers, messageSystem); newCommand.CreateNew(); messageSystem.Received().PublishCreated(implementations, implementation); }