AspNet.Identity.MongoDB.Test.UserStoreTests.FindByLogin C# (CSharp) Method

FindByLogin() private method

private FindByLogin ( ) : void
return void
		public void FindByLogin() {
			this.um.Create(new IdentityUser {
				EmailAddress = "[email protected]",
				UserName = "MrTest5"
			});

			IdentityUser user = this.um.FindByEmail("[email protected]");

			IdentityResult result = this.um.AddLogin(user.Id, new UserLoginInfo("Twitter", "blablabla"));

			user = this.um.Find(new UserLoginInfo("Twitter", "blablabla"));

			false.Should().Be(user == null);
		}