public void Should_Throw_An_ArgumentNullException_If_The_DatabaseCommand_Is_Null() { // Arrange DatabaseCommand databaseCommand = null; // Act TestDelegate action = () => databaseCommand.ToDbCommand(); // Assert Assert.Throws <ArgumentNullException>(action); }