Avoid NPEs if stub is actually used
@@ -164,11 +164,11 @@ public class MockOrganization extends AbstractComponent implements Organization
private class PropertyInfo {
- private User defaultAssignee;
+ private User defaultAssignee = User.from("firewallguy");
private List<List<User>> contacts = Collections.emptyList();
- private URI issueUrl;
- private URI contactsUrl;
- private URI propertyUrl;
+ private URI issueUrl = URI.create("issues.tld");
+ private URI contactsUrl = URI.create("contacts.tld");
+ private URI propertyUrl = URI.create("properties.tld");
}
