示例#1
0
 public void BookId_New_ShouldCreateNewGuid()
 {
     Assert.True(Guid.TryParse(BookId.New(), out var id));
     Assert.NotEqual(Guid.Empty, id);
 }
示例#2
0
 public ValueTask <BookId> NextBookIdAsync()
 {
     return(new(BookId.New()));
 }