void
GPCapabilityExtractor::AddDefaultInputSlot()
{
	BeginParameter(kInputSlot, "Input Slot", STP_PARAMETER_CLASS_FEATURE);
	DefaultStringParameter(kInputSlot, "");
	StringParameterSize(kInputSlot, 1);
	StringParameter(kInputSlot, "", "Default");
	EndParameter(kInputSlot);
}
TEST(ParameterTest, StringParameterValidation) {
	StringParameter p;
	std::vector<std::string> possibilities;
	possibilities.push_back("test");
	possibilities.push_back("moretest");
	possibilities.push_back("evenmoretest");

	ASSERT_NO_THROW(p = StringParameter("test", possibilities, "asd", "asd"));

	EXPECT_THROW(p.set("abc"), SIPL::SIPLException);
}