public void CommandClosePanelNone_Constructor_Exception1() { // Arrange var actual = false; var modesController = new ModesControllerTest(); // Act try { var unused = new CommandClosePanelNone(null, modesController); } catch (ArgumentNullException) { actual = true; } // Assert Assert.IsTrue(actual); }
public void CommandClosePanelNone_Constructor_Exception2() { // Arrange var actual = false; var panel = new PanelTest(); // Act try { var unused = new CommandClosePanelNone(panel, null); } catch (ArgumentNullException) { actual = true; } // Assert Assert.IsTrue(actual); }