package com.smartsheet.api.models;

/*
 * #[license]
 * Smartsheet SDK for Java
 * %%
 * Copyright (C) 2014 Smartsheet
 * %%
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * 
 *      http://www.apache.org/licenses/LICENSE-2.0
 * 
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 * %[license]
 */

import com.smartsheet.api.models.enums.ColumnType;
import org.junit.Before;
import org.junit.Test;

import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotNull;

public class ColumnTypeTest {

    @Before
    public void setUp() throws Exception {
    }

    @Test
    public void test() {

        assertNotNull(ColumnType.valueOf("TEXT_NUMBER"));
        assertNotNull(ColumnType.valueOf("PICKLIST"));
        assertNotNull(ColumnType.valueOf("DATE"));
        assertNotNull(ColumnType.valueOf("DATETIME"));
        assertNotNull(ColumnType.valueOf("CONTACT_LIST"));
        assertNotNull(ColumnType.valueOf("CHECKBOX"));
        assertNotNull(ColumnType.valueOf("DURATION"));
        assertNotNull(ColumnType.valueOf("PREDECESSOR"));
        assertNotNull(ColumnType.valueOf("ABSTRACT_DATETIME"));

        assertEquals(9,ColumnType.values().length);
    }

}

@@ -1525,16 +1525,81 @@
 TIME%22));
+%0A        assertNotNull(ColumnType.valueOf(%22MULTI_CONTACT_LIST%22));
 %0A%0A      
@@ -1617,9 +1617,10 @@
 als(
-9
+10
 ,Col

fix failing IT test