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

CreateAndFindByEmail() private method

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

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

			user.UserName.Should().Be("Test");
		}