com.github.dreamhead.moco.resource.IdFactory Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of moco-core Show documentation
Show all versions of moco-core Show documentation
Moco is an easy setup stub framework, mainly focusing on testing and integration.
package com.github.dreamhead.moco.resource;
public final class IdFactory {
public static Identifiable id(final String id) {
return new Identifiable() {
@Override
public String id() {
return id;
}
};
}
private IdFactory() {}
}