Automobile.Registrar.UnitTests.SQLiteClientTests.TestRegistration C# (CSharp) Method

TestRegistration() private method

private TestRegistration ( ) : void
return void
        public void TestRegistration()
        {
            DeviceInfo info = new DeviceInfo
                              {
                                  DeviceModel = "aDevice",
                                  IP = "0.0.0.0",
                                  MobileOs = MobileOs.None,
                                  OsVersion = "1.0",
                                  UniqueId = "0"
                              };
            MobileDb.Instance.Register(info);
            var match = MobileDb.Instance.GetFirstMatch(info);
            Assert.IsTrue(info.IP == match.IP, "Actual: {0} Expected: {1}", match.IP, info.IP);
        }