Exemplo n.º 1
0
        public void Instance_Implement_Interface_ILocalizedQuery_of_Object()
        {
            //Arrange
            var type = typeof(ILocalizedQuery <object>);

            //Act
            var query = new ChildLocalizedQuery();

            //Assert
            Assert.IsInstanceOf(type, query);
        }
Exemplo n.º 2
0
        public void Instance_Implement_Interface_ILocalized()
        {
            //Arrange
            var type = typeof(ILocalized);

            //Act
            var childLocalizeQuery = new ChildLocalizedQuery();

            //Assert
            Assert.IsInstanceOf(type, childLocalizeQuery);
        }
Exemplo n.º 3
0
        public void LanguageId()
        {
            //Arrange
            var query = new ChildLocalizedQuery {
                LanguageId = 1033
            };

            //Act
            var result = query.LanguageId;

            //Assert
            Assert.IsTrue(result == 1033);
        }