public async Task ExecuteAsync() { var factory = new ObjectPortal <ObjectPortalTestCommand>(); var test = await factory.ExecuteAsync(factory.Create()); Assert.AreEqual("done", test.Data); }
public void Execute() { var factory = new ObjectPortal <ObjectPortalTestCommand>(); var test = factory.Execute(factory.Create()); Assert.AreEqual("done", test.Data); }