Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Non "bean like" constructors support #3

Open
daaa57150 opened this issue Apr 1, 2015 · 1 comment
Open

Non "bean like" constructors support #3

daaa57150 opened this issue Apr 1, 2015 · 1 comment

Comments

@daaa57150
Copy link

Hi,

I don't know if I just didn't find how to do it, but I can't test a bean that has a constructor where the arguments are not also properties.

Example:

public class MyBeanClass
{
    private String a, b, c;
    public MyBeanClass(AnotherClass other)
    {
        this.a = other.getA();
        this.b = other.getB();
        this.c = other.getC();
    }
}

There should be some way to tell the tester to just ignore that constructor, or is there?

@outsideMyBox
Copy link
Owner

Hi,

no, unfortunately the library can't test this case. Sorry!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants