/*!
Copyright (c) REBUILD <https://getrebuild.com/> and/or its owners. All rights reserved.

rebuild is dual-licensed under commercial and open source licenses (GPLv3).
See LICENSE and COMMERCIAL in the project root for license information.
*/

package com.rebuild.utils;

import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Test;

/**
 * @author devezhao
 * @since 2019/03/08
 */
public class BlockListTest {

    @Test
    void isBlock() {
        Assertions.assertTrue(BlockList.isBlock("admin"));
        Assertions.assertFalse(BlockList.isBlock("imnotadmin"));
    }
}
