Ejemplo n.º 1
0
 public void CreateApplication()
 {
     Subscribers             = new List <Guid>();
     Device.PlatformServices = new FakePlatformServices();
     Device.Info             = new FakeDeviceInfo();
     App = new FakeApplication(Registry);
 }
Ejemplo n.º 2
0
        public void Ctor_withName_works(string name)
        {
            // act:
            ApplicationBase application = new FakeApplication(name);

            // assert:
            Assert.AreEqual(name, application.Name);
        }
Ejemplo n.º 3
0
        public void SetUp()
        {
            Context = new TestContext();
            var application = new FakeApplication();

            Context.Store <IApplicationUnderTest>(application);
            SetUp(Context);
            theUrlRegistry = application.Urls;
        }