TransWikia.com

чем заменить depricated метод?

Stack Overflow на русском Asked by Roddg on February 1, 2021

метод isEqualToComparingFieldByField чем можно заменить?

public static void assertMatch(Meal actual, Meal expected) {
        assertThat(actual).isEqualToComparingFieldByField(expected);
    }

One Answer

В javadoc написано использовать usingRecursiveComparison.

Answered by Sergey Gornostaev on February 1, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP