public void Constructor_WithFeature_SetsContentProperty() { var feature = new Feature(); var featureFile = new FeatureFile("filename.ext", parentFolder, feature); featureFile.Content.ShouldEqual(feature); }
public void FeatureFile_Implements_ITreeItem() { var featureFile = new FeatureFile("filename.ext", parentFolder, new Feature()); featureFile.ShouldImplement<ITreeItem>(); }