public void FieldNamingWatcherUpperCaseCheck_providedClassShouldPassWithAllUppercaseFields(Type type) { sut.Configure(Naming.UpperCase); sut.WatchType(type); sut.Execute(); }
public void AllPropertiesInAssemblyMustStartWithUppercase() { FieldNamingWatcher fieldNamingWatcher = new FieldNamingWatcher(); fieldNamingWatcher.Configure(Naming.UpperCase); fieldNamingWatcher.WatchAssembly(typeof(DomainModel).Assembly); fieldNamingWatcher.Execute(); }