public void PropertyNamingWatcherLowerCaseCheck_providedClassShouldPassWithAllLowercaseProperties(Type type) { sut.Configure(Naming.LowerCase); sut.WatchType(type); sut.Execute(); }
public void AllPropertiesInAssemblyMustStartWithUppercase() { PropertyNamingWatcher propertyNamingWatcher = new PropertyNamingWatcher(); propertyNamingWatcher.Configure(Naming.UpperCase); propertyNamingWatcher.WatchAssembly(typeof(DomainModel).Assembly); propertyNamingWatcher.Execute(); }