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