import "copyright.stg"
import "primitiveLiteral.stg"

skipBoolean() ::= "true"

isTest() ::= "true"

targetPath() ::= "org/eclipse/collections/impl/map/immutable/primitive"

fileName(primitive) ::= "Immutable<primitive.name>ObjectHashMapKeysViewTest"

class(primitive) ::= <<
<body(primitive.type, primitive.name)>
>>

body(type, name) ::= <<
<copyright()>

package org.eclipse.collections.impl.map.immutable.primitive;

import org.eclipse.collections.api.Lazy<name>Iterable;
import org.eclipse.collections.impl.lazy.primitive.AbstractLazy<name>IterableTestCase;
import org.eclipse.collections.impl.map.mutable.primitive.<name>ObjectHashMap;

/**
 * JUnit test for {@link Immutable<name>ObjectHashMap#keysView}.
 * This file was automatically generated from template file immutablePrimitiveObjectHashMapKeysViewTest.stg.
 */
public class Immutable<name>ObjectHashMapKeysViewTest extends AbstractLazy<name>IterableTestCase
{
    @Override
    protected Lazy<name>Iterable classUnderTest()
    {
        return <name>ObjectHashMap.newWithKeysValues(<(literal.(type))("1")>, 1, <(literal.(type))("2")>, 2, <(literal.(type))("3")>, 3).toImmutable().keysView();
    }

    @Override
    protected Lazy<name>Iterable getEmptyIterable()
    {
        return <name>ObjectHashMap.newMap().toImmutable().keysView();
    }

    @Override
    protected Lazy<name>Iterable newWith(<type> element1, <type> element2)
    {
        return <name>ObjectHashMap.newWithKeysValues(element1, 1, element2, 2).toImmutable().keysView();
    }
}

>>
