public void ResultTransformes() { IResultTransformer rt = new RootEntityResultTransformer(); NHAssert.IsSerializable(rt); rt = new AliasToBeanConstructorResultTransformer(typeof(StudentDTO).GetConstructor(new System.Type[] { })); NHAssert.IsSerializable(rt); rt = new AliasToBeanResultTransformer(typeof(StudentDTO)); NHAssert.IsSerializable(rt); rt = new DistinctRootEntityResultTransformer(); NHAssert.IsSerializable(rt); rt = new PassThroughResultTransformer(); NHAssert.IsSerializable(rt); }