package com.modesteam.urutau.builder;

import com.modesteam.urutau.model.Artifact;
import com.modesteam.urutau.model.User;

public class ArtifactBuilder {
	private String title;
	private String description;
	
	public ArtifactBuilder title(String title){
		this.title = title;
		return this;
	}
	
	public ArtifactBuilder login(String description){
		this.description = description;
		return this;
	}
	
	
	public User build(){
		Generic artifact = new Generic();
		artifact.setTitle(title);
		artifact.setDescription(description);
		return artifact;
	}
}

@@ -76,16 +76,99 @@
 tifact;%0A
+import com.modesteam.urutau.model.Epic;%0Aimport com.modesteam.urutau.model.Feature;%0A
 import c
@@ -199,16 +199,16 @@
 l.User;%0A
-
 %0Apublic 
@@ -487,20 +487,20 @@
 %09public 
-User
+Epic
  build()
@@ -507,52 +507,188 @@
 %7B%0A%09%09
-Generic artifact = new Generic();%0A%09%09artifact
+Epic epic = new Epic();%0A%09%09epic.setTitle(title);%0A%09%09epic.setDescription(description);%0A%09%09return epic;%0A%09%7D%0A%09%0A%09public Feature buildFeature()%7B%0A%09%09Feature feature = new Feature();%0A%09%09feature
 .set
@@ -703,24 +703,23 @@
 tle);%0A%09%09
-artifact
+feature
 .setDesc
@@ -753,16 +753,15 @@
 urn 
-artifact
+feature
 ;%0A%09%7D

Create a build for artifacts epic and feature for mock