package com.modesteam.urutau.builder;

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

public class ArtifactBuilder {
	private String title;
	private String description;
	private Long id;
	
	public ArtifactBuilder title(String title){
		this.title = title;
		return this;
	}
	
	public ArtifactBuilder description(String description){
		this.description = description;
		return this;
	}
	
	public ArtifactBuilder id(Long id) {
		this.id = id;
		return this;
	}
	
	
	public Epic buildEpic(){
		Epic epic = new Epic();
		epic.setId(id);
		epic.setTitle(title);
		epic.setDescription(description);
		return epic;
	}
	
	public Feature buildFeature(){
		Feature feature = new Feature();
		feature.setId(id);
		feature.setTitle(title);
		feature.setDescription(description);
		return feature;
	}

	

}

@@ -159,16 +159,101 @@
 eature;%0A
+import com.modesteam.urutau.model.Storie;%0Aimport com.modesteam.urutau.model.UseCase;%0A
 import c
@@ -986,15 +986,362 @@
 ture;%0A%09%7D
+%0A%09%0A%09public Storie buildStorie()%7B%0A%09%09Storie storie = new Storie();%0A%09%09storie.setId(id);%0A%09%09storie.setTitle(title);%0A%09%09storie.setDescription(description);%0A%09%09return storie;%0A%09%7D%0A%09%0A%09public UseCase buildUseCase()%7B%0A%09%09UseCase useCase = new UseCase();%0A%09%09useCase.setId(id);%0A%09%09useCase.setTitle(title);%0A%09%09useCase.setDescription(description);%0A%09%09return useCase;%0A%09%7D%0A%09
 %0A%0A%09%0A%0A%7D%0A

Increase ArtifactBuild for Mock Test