public Anonymous_C9(DatabaseCodeResolverTest databaseCodeResolverTest, CodeSetDao codeSetDao, TypedCodeFactory codeFactory) { Will(Org.Jmock.Expectations .ReturnValue(Ca.Infoway.Messagebuilder.Terminology.Codeset.DatabaseCodeResolverTest.CODE)); this.One(f_factory) .Create( this.With(Org.Jmock.Expectations .Same <System.Type>(typeof(x_NormalRestrictedTabooConfidentialityKind))), this.With(outer_DatabaseCodeResolverTest .HasSameContents(ILOG.J2CsMapping.Collections.Arrays.AsList(typeof(x_NormalRestrictedTabooConfidentialityKind)))), this.With(Org.Jmock.Expectations .Equal <System.String>(Ca.Infoway.Messagebuilder.Terminology.Codeset.DatabaseCodeResolverTest.CODE_VALUE)), this.With(Org.Jmock.Expectations .Equal <System.String>(Ca.Infoway.Messagebuilder.Terminology.Codeset.DatabaseCodeResolverTest.CODE_SYSTEM_OID)), this.With(Org.Jmock.Expectations.Any <System.Collections.Generic.IDictionary <% 1, % 2> >(typeof(IDictionary))), With(Org.Jmock.Expectations.Any <System.Int32?>(typeof(Int32?))), With(Org.Jmock.Expectations.Any <System.Boolean?>(typeof(Boolean?))), With(Org.Jmock.Expectations.Any <System.Boolean?>(typeof(Boolean?)))); Will(Org.Jmock.Expectations .ReturnValue(outer_DatabaseCodeResolverTest .CreateValueSetsCollection(new String[] { Ca.Infoway.Messagebuilder.Terminology.Codeset.DatabaseCodeResolverTest.CODE_VALUE }))); this.Allowing(f_setDao).SelectValueSetsByCode( this.With(Org.Jmock.Expectations.Any <System.Type>(typeof(Type))), this.With(Org.Jmock.Expectations.Any <System.String>(typeof(String))), this.With(Org.Jmock.Expectations.Equal <System.String>(Ca.Infoway.Messagebuilder.Terminology.Codeset.DatabaseCodeResolverTest.VERSION)) ); outer_DatabaseCodeResolverTest = databaseCodeResolverTest; this.f_setDao = codeSetDao; this.f_factory = codeFactory; }
public Anonymous_C7(DatabaseCodeResolverTest databaseCodeResolverTest, CodeSetDao codeSetDao) { Will(Org.Jmock.Expectations .ReturnValue(outer_DatabaseCodeResolverTest .CreateEmptyCollection <System.Object>())); this.Allowing(f_setDao).SelectValueSetsByCode( this.With(Org.Jmock.Expectations.Any <System.Type>(typeof(Type))), this.With(Org.Jmock.Expectations.Any <System.String>(typeof(String))), this.With(Org.Jmock.Expectations.Equal <System.String>(Ca.Infoway.Messagebuilder.Terminology.Codeset.DatabaseCodeResolverTest.VERSION)) ); outer_DatabaseCodeResolverTest = databaseCodeResolverTest; this.f_setDao = codeSetDao; }
public Anonymous_C4(DatabaseCodeResolverTest databaseCodeResolverTest, CodeSetDao codeSetDao, IList <Type> list, TypedCodeFactory codeFactory) { Will(Org.Jmock.Expectations .ReturnValue(Ca.Infoway.Messagebuilder.Terminology.Codeset.DatabaseCodeResolverTest.CODE)); this.One(f_factory) .Create( this.With(Org.Jmock.Expectations .Same <System.Type>(typeof(Confidentiality))), this.With(outer_DatabaseCodeResolverTest .HasSameContents(f_list)), this.With(Org.Jmock.Expectations .Equal <System.String>(Ca.Infoway.Messagebuilder.Terminology.Codeset.DatabaseCodeResolverTest.CODE_VALUE)), this.With(Org.Jmock.Expectations .Equal <System.String>(Ca.Infoway.Messagebuilder.Terminology.Codeset.DatabaseCodeResolverTest.CODE_SYSTEM_OID)), this.With(Org.Jmock.Expectations .Any <System.Collections.Generic.IDictionary <% 1, % 2> >(typeof(IDictionary))), With(Org.Jmock.Expectations .Any <System.Int32?>(typeof(Int32?))), With(Org.Jmock.Expectations .Any <System.Boolean?>(typeof(Boolean?))), With(Org.Jmock.Expectations .Any <System.Boolean?>(typeof(Boolean?)))); Will(Org.Jmock.Expectations .ReturnValue(outer_DatabaseCodeResolverTest .CreateValueSet( Ca.Infoway.Messagebuilder.Terminology.Codeset.DatabaseCodeResolverTest.CODE_VALUE, f_list))); this.Allowing(f_setDao).FindValueByCodeSystem( this.With(Org.Jmock.Expectations.Any <System.Type>(typeof(Type))), this.With(Org.Jmock.Expectations.Any <System.String>(typeof(String))), this.With(Org.Jmock.Expectations.Any <System.String>(typeof(String))), this.With(Org.Jmock.Expectations.Equal <System.String>(Ca.Infoway.Messagebuilder.Terminology.Codeset.DatabaseCodeResolverTest.VERSION)) ); outer_DatabaseCodeResolverTest = databaseCodeResolverTest; this.f_setDao = codeSetDao; this.f_list = list; this.f_factory = codeFactory; }