public void CrearTransporte_Caso_CrearBarco() { LogisticaMaritima logisticaTerrestre = new LogisticaMaritima(); ITransporte barco = logisticaTerrestre.CrearTransporte(true); string tipo = barco.ObtenerTipo(); Assert.Equal(TipoLogistica.Barco, tipo); }
protected override void Given() { _sut = new LogisticaMaritima(); _expectedResult = new Barco(); }
protected override void When() { _sut = new LogisticaMaritima(); }