public void DataService_AddContentType_Adds_Record_On_Valid_ContentType() { //Arrange int rowCount = DataUtil.GetRecordCount(DataTestHelper.ConnectionString, ContentDataTestHelper.ContentTypesTableName); DataUtil.AddDatabaseObject(virtualScriptFilePath, addContentType); ContentType contentType = new ContentType(); contentType.ContentType = Constants.CONTENTTYPE_ValidContentType; DataService ds = new DataService(); //Act int contentTypeItemId = ds.AddContentType(contentType); //Assert DatabaseAssert.RecordCountIsEqual(DataTestHelper.ConnectionString, ContentDataTestHelper.ContentTypesTableName, rowCount + 1); }