/*
 * Copyright 2013 undera.
 *
 * 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.
 */
package com.atlantbh.jmeter.plugins.hbasecomponents.config;

import org.junit.*;
import org.junit.runners.MethodSorters;

import static org.junit.Assert.assertEquals;

@FixMethodOrder(MethodSorters.JVM)
public class HBaseConnectionTest {

    public HBaseConnectionTest() {
    }

    @BeforeClass
    public static void setUpClass() {
    }

    @AfterClass
    public static void tearDownClass() {
    }

    @Before
    public void setUp() {
    }

    @After
    public void tearDown() {
    }

    /**
     * Test of getConnection method, of class HBaseConnection.
     */
    @Test
    public void testGetConnection() {
        System.out.println("getConnection");
        String name = "";
        HBaseConnectionVariable result = HBaseConnection.getConnection(name);
        assertEquals(null, result);
    }

    /**
     * Test of getZkHost method, of class HBaseConnection.
     */
    @Test
    public void testGetZkHost() {
        System.out.println("getZkHost");
        HBaseConnection instance = new HBaseConnection();
        String expResult = "";
        String result = instance.getZkHost();
        assertEquals(expResult, result);
    }

    /**
     * Test of setZkHost method, of class HBaseConnection.
     */
    @Test
    public void testSetZkHost() {
        System.out.println("setZkHost");
        String zkHost = "";
        HBaseConnection instance = new HBaseConnection();
        instance.setZkHost(zkHost);
    }

    /**
     * Test of getZkName method, of class HBaseConnection.
     */
    @Test
    public void testGetZkName() {
        System.out.println("getZkName");
        HBaseConnection instance = new HBaseConnection();
        String expResult = "";
        String result = instance.getZkName();
        assertEquals(expResult, result);
    }

    /**
     * Test of setZkName method, of class HBaseConnection.
     */
    @Test
    public void testSetZkName() {
        System.out.println("setZkName");
        String zkName = "";
        HBaseConnection instance = new HBaseConnection();
        instance.setZkName(zkName);
    }

    /**
     * Test of testStarted method, of class HBaseConnection.
     */
    @Test
    public void testTestStarted_String() {
        System.out.println("testStarted");
        String s = "";
        HBaseConnection instance = new HBaseConnection();
        instance.testStarted(s);
    }

    /**
     * Test of testStarted method, of class HBaseConnection.
     */
    @Test
    public void testTestStarted_0args() {
        System.out.println("testStarted");
        HBaseConnection instance = new HBaseConnection();
        instance.testStarted();
    }

    /**
     * Test of testEnded method, of class HBaseConnection.
     */
    @Test
    public void testTestEnded_String() {
        System.out.println("testEnded");
        String s = "";
        HBaseConnection instance = new HBaseConnection();
        instance.testEnded(s);
    }

    /**
     * Test of testEnded method, of class HBaseConnection.
     */
    @Test
    public void testTestEnded_0args() {
        System.out.println("testEnded");
        HBaseConnection instance = new HBaseConnection();
        instance.testEnded();
    }

}

@@ -1274,26 +1274,53 @@
 ring name = 
-%22%22
+getClass().getCanonicalName()
 ;%0A        HB

Fix test