All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.fimet.assertions.IsTrue Maven / Gradle / Ivy

The newest version!
package com.fimet.assertions;

public class IsTrue extends AbstractAssertion {
	
	
	public IsTrue(boolean value) {
		super();
		this.value = value;
	}
	@Override
	protected boolean doExecute() {
		return (Boolean)value;
	}
	public String toString() {
		return status()
				.append("[ISTRUE]")
				.append("V:[").append(value).append("]")
				.append("E:[true]")
				.toString();
	}
	public Object getExpected() {
		return Boolean.TRUE;
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy