Exemplo n.º 1
0
 private async Task BlockShouldSetBit(string address, bool value)
 {
     await _blockB.Received(1).TrySetBitAsync(Arg.Is(address), Arg.Is(value));
 }
Exemplo n.º 2
0
 private async Task BlockDShouldBeSetWord(string address, int value)
 {
     await _blockD.Received(1).TrySetWordAsync(Arg.Is(address), Arg.Is(value));
 }