public async Task GetAttribute_KnownAttribute_ReturnsValue() { //arange //act var result = await _lambdaDataProvider.GetValue(_functionConfig, new ResourceConfig(), "Timeout"); //assert var expected = _functionConfig.Timeout * 1000; Assert.That(result, Is.EqualTo(expected)); }
public void GetAttribute_KnownAttribute_ReturnsValue() { //arange //act var result = _lambdaDataProvider.GetValue(_functionConfig, "Timeout"); //assert var expected = _functionConfig.Timeout * 1000; Assert.That(result, Is.EqualTo(expected)); }