package io.github.tatools.sunshine.core;

/**
 * @author Dmytro Serdiuk (dmytro.serdiuk@gmail.com)
 * @since 22.04.2017
 */
public interface Rule {
    // @todo 82:30m Review all implementations and make sure all of them have proper names.
    boolean pass(String identity);

    class Fake implements Rule {
        private final boolean answer;

        public Fake(boolean answer) {
            this.answer = answer;
        }

        @Override
        public boolean pass(String identity) {
            return answer;
        }
    }
}

package io.github.tatools.sunshine.core;

/**
 * @author Dmytro Serdiuk (dmytro.serdiuk@gmail.com)
 * @since 22.04.2017
 */
public interface Rule {
    // @todo #82:30m Review all implementations and make sure all of them have proper names.
    boolean pass(String identity);

    class Fake implements Rule {
        private final boolean answer;

        public Fake(boolean answer) {
            this.answer = answer;
        }

        @Override
        public boolean pass(String identity) {
            return answer;
        }
    }
}

Add '#' to puzzle