public async Task CreateDiaryTest() { var diaryName = "testdiary"; var isSecret = false; var diary = await _diaryService.CreateDiaryInfoAsync(_user, diaryName, isSecret); Assert.Equal(_user.Id, diary.Id); Assert.Equal(_user.Email, diary.Owner); Assert.Equal(diaryName, diary.DiaryName); Assert.Equal(isSecret, diary.IsSecret); Assert.Empty(diary.Writers); Assert.Empty(diary.Viewers); }