// Path: src/main/java/org/telosys/tools/generic/model/types/AttributeTypeInfo.java
// public class AttributeTypeInfo {
// 
// 	public static final int     NONE           =  0 ;
// 	public static final int     NOT_NULL       =  1 ;
// 	public static final int     PRIMITIVE_TYPE =  2 ;
// 	public static final int     OBJECT_TYPE    =  4 ;
// 	public static final int     UNSIGNED_TYPE  =  8 ;
// 	//public static final int     SQL_TYPE       = 16 ;
// 	
// 	private final String  neutralType ;
// 
// 	private final boolean notNull ;
// 
// 	private final boolean primitiveTypeExpected ;
// 	private final boolean objectTypeExpected ;
// 	
// 	private final boolean unsignedTypeExpected ;
// 	//private final boolean sqlTypeExpected ; // Removed in v 3.3.0
// 	
// 	/**
// 	 * Constructor
// 	 * @param neutralType
// 	 * @param typeInfo
// 	 */
// 	public AttributeTypeInfo(String neutralType, int typeInfo) {
// 		super();
// 		this.neutralType = neutralType;
// 		
// 		this.notNull               = ( typeInfo & NOT_NULL ) != 0 ;
// 		this.primitiveTypeExpected = ( typeInfo & PRIMITIVE_TYPE ) != 0 ;
// 		this.objectTypeExpected    = ( typeInfo & OBJECT_TYPE ) != 0 ;
// 		this.unsignedTypeExpected  = ( typeInfo & UNSIGNED_TYPE ) != 0 ;
// 		//this.sqlTypeExpected       = ( typeInfo & SQL_TYPE ) != 0 ; // Removed in v 3.3.0
// 	}
// 
// 	public AttributeTypeInfo(Attribute attribute) {
// 		super();
// 		this.neutralType           = attribute.getNeutralType();
// 		this.notNull               = attribute.isNotNull();
// 		this.primitiveTypeExpected = attribute.isPrimitiveTypeExpected();
// 		this.objectTypeExpected    = attribute.isObjectTypeExpected();
// 		this.unsignedTypeExpected  = attribute.isUnsignedTypeExpected();
// 		//this.sqlTypeExpected       = attribute.isSqlTypeExpected(); // Removed in v 3.3.0
// 	}
// 
// 	public String getNeutralType() {
// 		return neutralType;
// 	}
// 
// 	public boolean isNotNull() {
// 		return notNull;
// 	}
// 
// 	public boolean isPrimitiveTypeExpected() {
// 		return primitiveTypeExpected;
// 	}
// 
// 	public boolean isObjectTypeExpected() {
// 		return objectTypeExpected;
// 	}
// 
// 	public boolean isUnsignedTypeExpected() {
// 		return unsignedTypeExpected;
// 	}
// 
// //	public boolean isSqlTypeExpected() { // Removed in v 3.3.0
// //		return sqlTypeExpected;
// //	}
// 
// 	@Override
// 	public String toString() {
// 		StringBuilder sb  = new StringBuilder();
// 		sb.append("'" + neutralType + "' " );
// //		if ( notNull || primitiveTypeExpected || objectTypeExpected || unsignedTypeExpected || sqlTypeExpected ) {
// 		if ( notNull || primitiveTypeExpected || objectTypeExpected || unsignedTypeExpected ) {
// 			sb.append("( " );
// 			if ( notNull ) {
// 				sb.append("notNull " );
// 			}
// 			if ( primitiveTypeExpected ) {
// 				sb.append("primitiveType " );
// 			}
// 			if ( unsignedTypeExpected ) {
// 				sb.append("unsignedType " );
// 			}
// 			if ( objectTypeExpected ) {
// 				sb.append("objectType " );
// 			}
// //			if ( sqlTypeExpected ) { // Removed in v 3.3.0
// //				sb.append("sqlType " );
// //			}
// 			sb.append(")" );
// 		}
// 		return sb.toString();
// 	}
// 
// }


import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertTrue;
import static org.telosys.tools.generic.model.types.AttributeTypeInfo.*;
import org.junit.Test;
package org.telosys.tools.generic.model.types;



public class AttributeTypeInfoTest  {

	@Test
	public void test1() {
// Path: src/main/java/org/telosys/tools/generic/model/types/AttributeTypeInfo.java
// public class AttributeTypeInfo {
// 
// 	public static final int     NONE           =  0 ;
// 	public static final int     NOT_NULL       =  1 ;
// 	public static final int     PRIMITIVE_TYPE =  2 ;
// 	public static final int     OBJECT_TYPE    =  4 ;
// 	public static final int     UNSIGNED_TYPE  =  8 ;
// 	//public static final int     SQL_TYPE       = 16 ;
// 	
// 	private final String  neutralType ;
// 
// 	private final boolean notNull ;
// 
// 	private final boolean primitiveTypeExpected ;
// 	private final boolean objectTypeExpected ;
// 	
// 	private final boolean unsignedTypeExpected ;
// 	//private final boolean sqlTypeExpected ; // Removed in v 3.3.0
// 	
// 	/**
// 	 * Constructor
// 	 * @param neutralType
// 	 * @param typeInfo
// 	 */
// 	public AttributeTypeInfo(String neutralType, int typeInfo) {
// 		super();
// 		this.neutralType = neutralType;
// 		
// 		this.notNull               = ( typeInfo & NOT_NULL ) != 0 ;
// 		this.primitiveTypeExpected = ( typeInfo & PRIMITIVE_TYPE ) != 0 ;
// 		this.objectTypeExpected    = ( typeInfo & OBJECT_TYPE ) != 0 ;
// 		this.unsignedTypeExpected  = ( typeInfo & UNSIGNED_TYPE ) != 0 ;
// 		//this.sqlTypeExpected       = ( typeInfo & SQL_TYPE ) != 0 ; // Removed in v 3.3.0
// 	}
// 
// 	public AttributeTypeInfo(Attribute attribute) {
// 		super();
// 		this.neutralType           = attribute.getNeutralType();
// 		this.notNull               = attribute.isNotNull();
// 		this.primitiveTypeExpected = attribute.isPrimitiveTypeExpected();
// 		this.objectTypeExpected    = attribute.isObjectTypeExpected();
// 		this.unsignedTypeExpected  = attribute.isUnsignedTypeExpected();
// 		//this.sqlTypeExpected       = attribute.isSqlTypeExpected(); // Removed in v 3.3.0
// 	}
// 
// 	public String getNeutralType() {
// 		return neutralType;
// 	}
// 
// 	public boolean isNotNull() {
// 		return notNull;
// 	}
// 
// 	public boolean isPrimitiveTypeExpected() {
// 		return primitiveTypeExpected;
// 	}
// 
// 	public boolean isObjectTypeExpected() {
// 		return objectTypeExpected;
// 	}
// 
// 	public boolean isUnsignedTypeExpected() {
// 		return unsignedTypeExpected;
// 	}
// 
// //	public boolean isSqlTypeExpected() { // Removed in v 3.3.0
// //		return sqlTypeExpected;
// //	}
// 
// 	@Override
// 	public String toString() {
// 		StringBuilder sb  = new StringBuilder();
// 		sb.append("'" + neutralType + "' " );
// //		if ( notNull || primitiveTypeExpected || objectTypeExpected || unsignedTypeExpected || sqlTypeExpected ) {
// 		if ( notNull || primitiveTypeExpected || objectTypeExpected || unsignedTypeExpected ) {
// 			sb.append("( " );
// 			if ( notNull ) {
// 				sb.append("notNull " );
// 			}
// 			if ( primitiveTypeExpected ) {
// 				sb.append("primitiveType " );
// 			}
// 			if ( unsignedTypeExpected ) {
// 				sb.append("unsignedType " );
// 			}
// 			if ( objectTypeExpected ) {
// 				sb.append("objectType " );
// 			}
// //			if ( sqlTypeExpected ) { // Removed in v 3.3.0
// //				sb.append("sqlType " );
// //			}
// 			sb.append(")" );
// 		}
// 		return sb.toString();
// 	}
// 
// }


// Path: src/test/java/org/telosys/tools/generic/model/types/AttributeTypeInfoTest.java
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertTrue;
import static org.telosys.tools.generic.model.types.AttributeTypeInfo.*;
import org.junit.Test;

package org.telosys.tools.generic.model.types;



public class AttributeTypeInfoTest  {

	@Test
	public void test1() {
		AttributeTypeInfo attributeTypeInfo = new AttributeTypeInfo(NeutralType.STRING, NONE);