Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
fogbow
fogbow-green-sitter
Commits
dc33acce
Commit
dc33acce
authored
Mar 30, 2015
by
aninhacostaribeiro
Browse files
Updated the tests of openStack info plugin.
parent
2a7b6453
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/test/java/org/fogbowcloud/green/server/core/plugins/openstack/TestOpenStackPlugin.java
View file @
dc33acce
...
...
@@ -50,8 +50,7 @@ public class TestOpenStackPlugin {
private
OpenStackInfoPlugin
createMockPlugin
(
final
List
<
Hypervisor
>
hvs
,
final
List
<
AvailabilityZone
>
zones
)
{
OSClient
osClient
=
createOSClientMock
(
new
LinkedList
<
Hypervisor
>(),
new
LinkedList
<
AvailabilityZone
>());
OSClient
osClient
=
createOSClientMock
(
hvs
,
zones
);
OpenStackInfoPlugin
plugin
=
Mockito
.
spy
(
new
OpenStackInfoPlugin
(
null
,
null
,
null
,
null
));
Mockito
.
doReturn
(
osClient
).
when
(
plugin
).
os
();
return
plugin
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment