org.allurefw.report.entity.WithTestCaseInfo Maven / Gradle / Ivy
package org.allurefw.report.entity;
/**
* @author Dmitry Baev baev@qameta.io
* Date: 31.01.16
*/
public interface WithTestCaseInfo extends WithName, WithTime, WithStatus, WithUid {
default TestCaseInfo toInfo() {
return new TestCaseInfo()
.withUid(getUid())
.withName(getName())
.withTime(getTime())
.withStatus(getStatus());
}
}