public void CreateApplication() { Subscribers = new List <Guid>(); Device.PlatformServices = new FakePlatformServices(); Device.Info = new FakeDeviceInfo(); App = new FakeApplication(Registry); }
public void Ctor_withName_works(string name) { // act: ApplicationBase application = new FakeApplication(name); // assert: Assert.AreEqual(name, application.Name); }
public void SetUp() { Context = new TestContext(); var application = new FakeApplication(); Context.Store <IApplicationUnderTest>(application); SetUp(Context); theUrlRegistry = application.Urls; }