summaryrefslogtreecommitdiff
path: root/src/test/GasPlantSpecs.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/GasPlantSpecs.cs')
-rw-r--r--src/test/GasPlantSpecs.cs15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/test/GasPlantSpecs.cs b/src/test/GasPlantSpecs.cs
index e9a74b0..fdf8fd0 100644
--- a/src/test/GasPlantSpecs.cs
+++ b/src/test/GasPlantSpecs.cs
@@ -44,5 +44,20 @@ namespace test
static IWell firstWell;
static IWell secondWell;
}
+ public class when_retrieving_the_available_capacity_for_a_month
+ {
+ It should_return_the_correct_amount = () =>
+ {
+ result.ShouldEqual(30m.MCF());
+ };
+
+ Because of = () =>
+ {
+ sut.IncreaseCapacityTo(30m.MCF(),Month.Now());
+ result = sut.AvailableCapacityFor(Month.Now());
+ };
+
+ static IQuantity result;
+ }
}
}