public void installAV() { Assert.DoesNotThrow(() => testMac.installAntivirus()); Assert.DoesNotThrow(() => testPC.installAntivirus()); }
public void actionTest() { var mac = new Mac(); Assert.DoesNotThrow(() => testDev.performActionWithComputer(() => mac.installAntivirus())); }