use of com.iwave.ext.command.CommandOutput in project coprhd-controller by CoprHD.
the class ListHBAInfoCommandTest method setup.
@BeforeClass
public static synchronized void setup() {
CommandOutput commandOutput = new CommandOutput(output, null, 0);
hbaCommand = createMockBuilder(ListHBAInfoCommand.class).withConstructor().addMockedMethod("getOutput").createMock();
EasyMock.expect(hbaCommand.getOutput()).andReturn(commandOutput).anyTimes();
EasyMock.replay(hbaCommand);
}
use of com.iwave.ext.command.CommandOutput in project coprhd-controller by CoprHD.
the class GetNetworkAdapterMacAddressCommandTest method setup.
@BeforeClass
public static synchronized void setup() {
CommandOutput commandOutput = new CommandOutput(output, null, 0);
macAddressCommand = createMockBuilder(GetNetworkAdapterMacAddressCommand.class).withConstructor("lan0").addMockedMethod("getOutput").createMock();
EasyMock.expect(macAddressCommand.getOutput()).andReturn(commandOutput).anyTimes();
EasyMock.replay(macAddressCommand);
}
use of com.iwave.ext.command.CommandOutput in project coprhd-controller by CoprHD.
the class ListHBAInfoCommandTest method setup.
@BeforeClass
public static synchronized void setup() {
CommandOutput commandOutput = new CommandOutput(output, null, 0);
hbaCommand = createMockBuilder(ListHBAInfoCommand.class).withConstructor().addMockedMethod("getOutput").createMock();
EasyMock.expect(hbaCommand.getOutput()).andReturn(commandOutput).anyTimes();
EasyMock.replay(hbaCommand);
}
use of com.iwave.ext.command.CommandOutput in project coprhd-controller by CoprHD.
the class ListIQNsCommandTest method setup.
@BeforeClass
public static synchronized void setup() {
CommandOutput commandOutput = new CommandOutput(output, null, 0);
iqnsCommand = createMockBuilder(ListIQNsCommand.class).withConstructor().addMockedMethod("getOutput").createMock();
EasyMock.expect(iqnsCommand.getOutput()).andReturn(commandOutput).anyTimes();
EasyMock.replay(iqnsCommand);
}
use of com.iwave.ext.command.CommandOutput in project coprhd-controller by CoprHD.
the class ListIpInterfacesCommandTest method setup.
@BeforeClass
public static synchronized void setup() {
CommandOutput commandOutput = new CommandOutput(output, null, 0);
ipInterfacesCommand = createMockBuilder(ListIPInterfacesCommand.class).withConstructor().addMockedMethod("getOutput").createMock();
EasyMock.expect(ipInterfacesCommand.getOutput()).andReturn(commandOutput).anyTimes();
EasyMock.replay(ipInterfacesCommand);
}
Aggregations