public void TestGetRegularExpression() { var metaDataService = new MetaDataService(); var regularExpression = Repository.RegularExpressions.First(); var foundRegularExpression = metaDataService.GetRegularExpression(1); Assert.AreSame(regularExpression, foundRegularExpression); }