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

org.easymock.internal.matchers.Any Maven / Gradle / Ivy

Go to download

EasyMock provides an easy way to create Mock Objects for interfaces and classes generating them on the fly

There is a newer version: 5.5.0
Show newest version
/*
 * Copyright (c) 2001-2005 OFFIS, Tammo Freese.
 * This program is made available under the terms of the MIT License.
 */
package org.easymock.internal.matchers;

import org.easymock.IArgumentMatcher;

public class Any implements IArgumentMatcher {

    public static final Any ANY = new Any();    
    
    private Any() {
        
    }
    
    public boolean matches(Object actual) {
        return true;
    }

    public void appendTo(StringBuffer buffer) {
        buffer.append("");
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy