コード例 #1
0
        public void BuildSchema()
        {
            //Arrange
            const string schema = nameof(SomeNamespace);

            //Act
            var result = TravelTypeConfiguration <SomeEntityObject> .BuildSchema();

            //Assert
            Assert.AreEqual(schema, result);
        }
コード例 #2
0
        public void BuildTable()
        {
            //Arrange
            const string table = nameof(SomeEntityObject) + "s";

            //Act
            var result = TravelTypeConfiguration <SomeEntityObject> .BuildTable();

            //Assert
            Assert.AreEqual(table, result);
        }