package net.ttddyy.dsproxy.test.assertj;

import net.ttddyy.dsproxy.QueryType;
import net.ttddyy.dsproxy.test.StatementExecution;

/**
 * @author Tadaya Tsuyukubo
 * @since 1.4
 */
public class StatementExecutionAssert extends AbstractExecutionAssert<StatementExecutionAssert, StatementExecution> {

    public StatementExecutionAssert(StatementExecution actual) {
        super(actual, StatementExecutionAssert.class);
    }

    public StatementExecutionAssert isSuccess() {
        isExecutionSuccess();
        return this;
    }

    public StatementExecutionAssert isFailure() {
        isExecutionFailure();
        return this;
    }

    public QueryHolderAssert query() {
        return new QueryHolderAssert(actual);
    }

    public StatementExecutionAssert hasQueryType(QueryType queryType) {
        // TODO: impl
        return this;
    }

}

@@ -648,30 +648,24 @@
 public Query
-Holder
 Assert query
@@ -697,14 +697,8 @@
 uery
-Holder
 Asse

Rename QueryHolderAssert to QueryAssert