public void CargarNombre_StringVacio_DeberiaArrojarExcepcion() { // Arrange var automovil = new Automovil(); // Act // Assert Assert.Throws <Exception>(() => automovil.CargarNombre("")); }