As of version 0.7.0, Machine.Specifications does not include assertions any more (see Daniel Marbach's blog). You have to install Machine.Specifications.Should (or another assertions library).
Additionally, ShouldBeOfType()
has been replaced with ShouldBeOfExactType()
(or ShouldBeAssignableTo()
respectively), so you should also change that in your code (see github issue.