int originalSize = this.serverPluginsBean.getAllServerPlugins().size();
PluginStatusType status;
PluginKey missingKey;
missingKey = new PluginKey(PluginDeploymentType.SERVER,
new ServerPluginType(GenericPluginDescriptorType.class).stringify(), TEST_PLUGIN_NAME_PREFIX + "1");
status = this.serverPluginsBean.getServerPluginStatus(missingKey);
assert status == null;
missingKey = new PluginKey(PluginDeploymentType.SERVER,
new ServerPluginType(GenericPluginDescriptorType.class).stringify(), TEST_PLUGIN_NAME_PREFIX + "2");
status = this.serverPluginsBean.getServerPluginStatus(missingKey);
assert status == null;
ServerPlugin p1 = registerPlugin(1);
ServerPlugin p2 = registerPlugin(2);
PluginKey p1key = new PluginKey(p1);
PluginKey p2key = new PluginKey(p2);
status = this.serverPluginsBean.getServerPluginStatus(p1key);
assert status == PluginStatusType.INSTALLED;
status = this.serverPluginsBean.getServerPluginStatus(p2key);
assert status == PluginStatusType.INSTALLED;