public void METHOD() { var mod = new TblPrefixModification(); var map = new MyMap(); mod.ApplyTo(map); map.CastTo <IMapping>().CustomProperties["TableName"].ShouldEqual("tbl_Customer"); }