package org.ovirt.engine.core.dao;

import static org.mockito.Mockito.mock;

import org.junit.Before;
import org.junit.Test;
import org.ovirt.engine.core.compat.Guid;
import org.ovirt.engine.core.compat.NotImplementedException;

/**
 * A sparse test case for {@link NetworkDAOHibernateImpl}
 * intended to fail once we start implementing actual methods
 */
public class NetworkDAOHibernateImplTest {
    /** The DAO to test */
    private NetworkDAOHibernateImpl dao;

    @Before
    public void setUp() {
        dao = new NetworkDAOHibernateImpl();
    }

    @Test(expected = NotImplementedException.class)
    public void testUnimplementedMethods() {
        dao.getAllForCluster(mock(Guid.class), mock(Guid.class), true);
    }
}

@@ -70,16 +70,72 @@
 .mock;%0A%0A
+import org.apache.commons.lang.NotImplementedException;%0A
 import o
@@ -219,69 +219,8 @@
 uid;
-%0Aimport org.ovirt.engine.core.compat.NotImplementedException;
 %0A%0A/*

Modify excepted exception to match impl