[TestMethod]//ok public void DeleteFollowerTest() { //arrange var user = new Users { Nickname = Guid.NewGuid().ToString().Substring(10), Username = Guid.NewGuid().ToString().Substring(10), Info = Guid.NewGuid().ToString().Substring(10) }; var follower = new Users { Nickname = Guid.NewGuid().ToString().Substring(10), Username = Guid.NewGuid().ToString().Substring(10), Info = Guid.NewGuid().ToString().Substring(10) }; var dataLayer = new DataLayer.Sql.DataLayer(ConnectionString); //act user = dataLayer.AddUser(user); follower = dataLayer.AddUser(follower); dataLayer.AddSubscription(user.UserId, follower); dataLayer.DeleteFollower(user, follower); //asserts Assert.AreEqual(dataLayer.IsFollower(user, follower), false); }